<?php
/**
 * User: fu
 * Date: 12-3-20
 * Time: 下午3:19
 */

?>
<?php
$attachcur=$attach->queryid($aid);
if(!empty($attachcur)){ ?>
<form action="<?php echo Fun::curcul(); ?> " method="post" class="aform">
    <h2 class="formdesc">修改附带发布</h2>
    <?php echo $actinfo;?>
    <div  class="line">
        <label class="labe">名称</label>
        <input class="inpt1" type="text" name="aname" value="<?php echo $attachcur[0]['name']?>">
        <span class="must">*</span>
    </div>
    <div  class="line">
        <label class="labe">文件</label>
        <input class="inpt1" type="text" name="afile" value="<?php echo $attachcur[0]['file']?>">
        <span class="must">*</span>
    </div>
    <div  class="line">
        <label class="labe">模板</label>
        <input class="inpt1" type="text" name="atpl" value="<?php echo $attachcur[0]['tpl']?>">
        <span class="must">*</span>
    </div>
    <div  class="line subline"><input class="sub" type="submit" value="修改附带发布"></div>
</form>
<?php } ?>
